﻿<div id ="dateDistrictForm" style="padding: 5px">
    <form action="GetDistrict">
    District: @Html.DevExpress().ComboBox(
        settings => {
            settings.Name = "district";
            settings.Width = 180;
            settings.SelectedIndex = 0;
            settings.Properties.DisplayFormatString = "District: {0}";
            settings.Properties.ValueType = typeof(string);
            settings.Properties.Items.Add("1");
            settings.Properties.Items.Add("2");
            settings.Properties.Items.Add("3");
        }
    ).GetHtml()
    Fiscal Week: @Html.DevExpress().DateEdit(
        settings => {
            settings.Name = "weekSelection";
            settings.Properties.DisplayFormatString = "D";
            settings.Date = new DateTime(1984, 06, 14);
        }
    ).GetHtml()
        @Html.ActionLink("Get District","DistrictGridPartialView", "Home")
        </form>
</div>